﻿@model Subtle.ViewModels.BlogConfigureViewModel
@{
	ViewBag.Title = "Configure";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
	Configure your blog</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
	<div class="container">
		@Html.ValidationSummary(true)
		@Html.Hidden("UserID", Session["UserID"].ToString())
		<div class="editor-label">
			@Html.LabelFor(model => model.Title)
		</div>
		<div class="editor-field">
			@Html.EditorFor(model => model.Title)
			@Html.ValidationMessageFor(model => model.Title)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.Description)
		</div>
		<div class="editor-field">
			@Html.TextAreaFor(model => model.Description)
			@Html.ValidationMessageFor(model => model.Description)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.Keywords)
		</div>
		<div class="editor-field">
			@Html.EditorFor(model => model.Keywords)
			@Html.ValidationMessageFor(model => model.Keywords)
		</div>
	</div>
	<p>
		<input type="submit" value="Create" />
	</p>
}
